package com.coderman.common.starter.nacos.datajson.annotations;

import java.lang.annotation.*;

/**
 * 标注entity的属性注解
 * @author fanchunshuai
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ConfigField {
    /**
     * 字段描述
     * @return
     */
    String desc() default "";

    /**
     * 是否作为查询key
     * @return
     */
    boolean queryKey() default false;
}
